# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
maintainer="Michał Polański <michal@polanski.me>"
pkgname=ts
pkgver=1.0.3
pkgrel=0
pkgdesc="Simple Unix batch system"
url="https://vicerveza.homeunix.net/~viric/soft/ts/"
license="GPL-2.0-or-later"
arch="all"
checkdepends="bash"
subpackages="$pkgname-doc"
source="https://vicerveza.homeunix.net/~viric/soft/ts/ts-$pkgver.tar.gz"

build() {
	make
}

check() {
	PATH="$PATH:$PWD" ./testbench.sh >/dev/null
}

package() {
	make PREFIX="$pkgdir/usr" install
}

sha512sums="
a3596974eab3744d700a889bd63b104e96e795f74f8139de37b990396706199a1dd1eff8cbf7d6eb4a4753abcb7dd15520e86675d65b85a469fef5901373b3a6  ts-1.0.3.tar.gz
"
